<template>
  <div>
    <van-tabbar v-model="active" :safe-area-inset-bottom="true">
      <van-tabbar-item replace to="/shop/home" icon="home-o">
        首页
      </van-tabbar-item>
      <van-tabbar-item replace to="/find" icon="search">
        发现
      </van-tabbar-item>
      <van-tabbar-item replace to="/about" icon="friends-o"
        >我的
      </van-tabbar-item>
    </van-tabbar>
  </div>
</template>
<script>
import { Tabbar, TabbarItem } from "vant";
export default {
  data() {
    return {
      active: 0,
    };
  },

  components: {
    [Tabbar.name]: Tabbar,
    [TabbarItem.name]: TabbarItem,
  },
};
</script>

<style></style>
